<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,initial-scale=1.0,width=device-width" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>操作指南详情</title>
    <link rel="stylesheet" type="text/css" href="../../../css/aui/aui.css" />
</head>

<body>
    <div id="app">
        <div class="aui-content-padded" v-html="detail.long_contents">
        </div>
    </div>
</body>
<script src="../../../script/api.js" charset="utf-8"></script>
<script src="../../../script/common/jquery-3.3.1.min.js" charset="utf-8"></script>
<script src="../../../script/common/common.js" charset="utf-8"></script>
<script src="../../../script/common/config.js" charset="utf-8"></script>
<script src="../../../script/common/vue.min.js" charset="utf-8"></script>
<script>
    apiready = function() {
        api.parseTapmode();
        vm.init();
    }

    var vm = new Vue({
        el: "#app",
        data: {
            detail: {}
        },
        methods: {
            init() {
                this.getDetailData();
            },
            getDetailData() {
                var self = this;
                _ajax(Config.api.NewsDetail, {
                    news_id: api.pageParam.id
                }, function(res) {
                    if (res.code === 200) {
                        self.detail = res.data;
                    }
                });
            }
        }
    });
</script>

</html>
